<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div class="ccc">
      <p id="box">this is box</p>
    </div>
    <li></li>
    <script>
      document.write("<h1>this is h1 title</h1>");

      document.title = "title modified by bom object!";
      console.log(document.title);

      var obj = document.getElementById("box");
      console.log(obj);
      document.write(obj.innerText);
      document.write("  ");
      var obj1 = document.getElementsByTagName("div");
      console.log(obj1);
    </script>
  </body>
</html>
